package pojo.order;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

/**
 * @author Limohan
 */
public class OrderProperty {
    private StringProperty id = new SimpleStringProperty();
    private StringProperty code = new SimpleStringProperty();
    private StringProperty name = new SimpleStringProperty();
    private StringProperty amount = new SimpleStringProperty();
    private StringProperty handInDate = new SimpleStringProperty();
    private StringProperty deadLine = new SimpleStringProperty();
    private StringProperty consignee = new SimpleStringProperty();
    private StringProperty phone = new SimpleStringProperty();
    private StringProperty address = new SimpleStringProperty();
    private StringProperty orderStateForCustomer = new SimpleStringProperty();
    private StringProperty orderStateForFactory = new SimpleStringProperty();
    private StringProperty factory = new SimpleStringProperty();
    private StringProperty bidInput = new SimpleStringProperty();

    public OrderProperty() {
    }

    public String getId() {
        return id.get();
    }

    public StringProperty idProperty() {
        return id;
    }

    public void setId(String id) {
        this.id.set(id);
    }

    public String getCode() {
        return code.get();
    }

    public StringProperty codeProperty() {
        return code;
    }

    public void setCode(String code) {
        this.code.set(code);
    }

    public String getName() {
        return name.get();
    }

    public StringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getAmount() {
        return amount.get();
    }

    public StringProperty amountProperty() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount.set(amount);
    }

    public String getHandInDate() {
        return handInDate.get();
    }

    public StringProperty handInDateProperty() {
        return handInDate;
    }

    public void setHandInDate(String handInDate) {
        this.handInDate.set(handInDate);
    }

    public String getDeadLine() {
        return deadLine.get();
    }

    public StringProperty deadLineProperty() {
        return deadLine;
    }

    public void setDeadLine(String deadLine) {
        this.deadLine.set(deadLine);
    }

    public String getConsignee() {
        return consignee.get();
    }

    public StringProperty consigneeProperty() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee.set(consignee);
    }

    public String getPhone() {
        return phone.get();
    }

    public StringProperty phoneProperty() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone.set(phone);
    }

    public String getAddress() {
        return address.get();
    }

    public StringProperty addressProperty() {
        return address;
    }

    public void setAddress(String address) {
        this.address.set(address);
    }

    public String getOrderStateForCustomer() {
        return orderStateForCustomer.get();
    }

    public StringProperty orderStateForCustomerProperty() {
        return orderStateForCustomer;
    }

    public void setOrderStateForCustomer(String orderStateForCustomer) {
        this.orderStateForCustomer.set(orderStateForCustomer);
    }

    public String getOrderStateForFactory() {
        return orderStateForFactory.get();
    }

    public StringProperty orderStateForFactoryProperty() {
        return orderStateForFactory;
    }

    public void setOrderStateForFactory(String orderStateForFactory) {
        this.orderStateForFactory.set(orderStateForFactory);
    }

    public String getFactory() {
        return factory.get();
    }

    public StringProperty factoryProperty() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory.set(factory);
    }

    public String getBidInput() {
        return bidInput.get();
    }

    public StringProperty bidInputProperty() {
        return bidInput;
    }

    public void setBidInput(String bidInput) {
        this.bidInput.set(bidInput);
    }
}